<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">

    <h:body>
        <ui:composition template="template.xhtml">
            <ui:define name="content">
                <div id="contentSupport">
                    Bitte registrieren Sie hier Ihren Familiennamen.
                </div>
                <div id="registerContent">
                    <h:form id="FamRegForm">

                        <h:panelGrid columns="2" rendered="true">

                            <h:outputLabel for="username">Familien Name:</h:outputLabel><br/>

                            <h:inputText id="username" value="#{kalenderPM.familienName}" title="familienName"/>
                        </h:panelGrid>
                        <h:commandButton value="Register" action="#{kalenderPM.registerFamilie()}" rendered="true"/>
                    </h:form>
                </div>
            </ui:define>
        </ui:composition>
    </h:body>
</html>
